<?php
return [
    // mysql数据库配置
    'db'                 => [
        // 是否记录执行的mysql语句
        'logged'             => true,
        // 记录执行时间超过0秒的mysql语句
        'max_execute_time'   => 0,
        // 比较时间到小数点后几位
        'scale'              => 5,
        'log_path'           => BASE_PATH . 'runtime/mysql/{Y/m/d}/{YmdH}.log',
        // 使用动态更新
        'use_dynamic_update' => true,
        // ORM选项配置
        'orm_options'        => [
            // 是否对字段是否为空的判断
            'not_null_validations' => false
        ],
        //开发
        'master' => [
            [
                'host'     => '127.0.0.1',
                'port'     => 3306,
                'username' => 'root',
                'password' => 'qq123456789..',
                'dbname'   => 'jiruanos_test',
                'charset'  => 'utf8'
            ]
        ],
        'slave' => [
            [
                'host'     => '127.0.0.1',
                'port'     => 3306,
                'username' => 'root',
                'password' => 'qq123456789..',
                'dbname'   => 'jiruanos_test',
                'charset'  => 'utf8'
            ]
        ],
        'redis'    => [
            'host'       => '127.0.0.1',
            'port'       => 6379,
            'auth'       => '123456',
            'persistent' => false,
            'prefix'     => '',
            'stats_key'  => '',
            'index'      => 0
        ]
    ],
    //jwt登录认证
    'jwt'=>[
        'jwtKey'=>'123456',
        'jwtExp'=>'99999999'
    ],
    //联盟配置
    'union' => [
        'tbUnion' => [
            'appKey' => '29517930', //淘宝联盟KEY/
            'appSecret' => '4cfddb442cef4e335ac2759623528b20',//淘宝联盟SECRET/
            'inviterCode' => 'HSDTQV',      //淘宝联盟邀请码
            'publisherInviteCode'=>'AFFTLV',      //运营身份邀请码
            'iosPid' => 'mm_115184870_1673500165_110380900420', //IOS推广位
            'iosMm' => '110380900420',  //IOS阿里妈妈物流调用
            'androidPid' => 'mm_115184870_1673500165_110380900420',//安卓推广位
            'androidMm' => '110380900420', //android阿里妈妈物流调用
            'tbName' => 'lllxxxqqqiii',//
            'haodankuApiKey' => 'maitao', //好单库授权30天一次/
            'dtkAppKey' => '5d84748908516',  //大淘客APPkey
            'dtkAppSecret' => 'b8965c5636329ab8225bdcc003001ee5',  //大淘客AppSecret
            'tbCallBack' => 'https://apitest.enshitc.com/api/relationtaoke/taobao_relation', //淘宝授权回调地址
            'ztkAppKey' => 'de56a292578e4293a2c4393eab3d088f', //折淘客APPKEY
            'ztkSid' => '31948',//折淘客SID
        ],

        //京东联盟
        'jdUnion' => [
            'unionId' => '1002811316',
            'appKey' => 'fa53ecd077353ac7019d17224aa91b5f',//
            'appSecret' => '646f4e24cac447afb757dcd204347bf2',//
            'jttAppId' => '2007091531103156',//京推推
            'jttAPPKey' => '19237bbaf640bf864d1e431d52dbb63e',//京推推
            'ddxAppKey' => 'Ef8I0tHXHV29NbO8P4oQt0fKG3EwpVKd',//订单侠
        ],

        //拼多多
        'pddUnion' => [
            'appSecret' => 'ac48e5619c07ee63271c62873f767435813f5e71',
            'clientId' => '94383ea2c18f4ae9ab462484c405ad42',
            'mediaId' => '9033888400',  //创建推广位用
        ],

        //唯品会
        'vphUnion' => [
            'appKey' => '82fd918a',
            'appSecret' => '6CC0E49D475E815E525BA07D0083F39D',
            'accessToken' => '1E1BB20176A7A053FB0091A83DF004D62165243B',
        ],

        //苏宁
        'snUnion' => [
            'appKey' => 'abd883f9abcb5dd2a3ce01bf331d8162',
            'appSecret' => 'e16944996ee34cc0d35b3c52c99a9727'
        ]
    ],
    //七牛
    'qiniu' =>[
        "accessKey"=>"3aEMMz9hABqZAQOiD1Ugp5-QtCqHmIzSx6qH4Jdm",
        "secretKey"=>"mPuYTRO0yq0LSdqemJw_VuSwPe8nK7AO70HdtarK",
        "cname"=>"qn-enshitc-com-idvbzqu.qiniudns.com",//七牛的CNAME
        "bucket"=>"buygou",//七牛的储存空间
    ],
    //支付宝
    'alipay'=>[
        'appId'=>'2017081208160826',//商户id
        'rsaPrivateKey'=>'MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQCggwY/53xYYjrf4QXxlJzVg3aHWxzRBdIhayKcal7R2AZQWwuvoF3HD+oCylQg8Eeimztdf4oOBH6KOw7a8avTgc2IbgPpsgPXuK+ZjD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ug3C7VGBmMYkrILtHbuUcCow+Oh9yo8cY8gmn/fsR7tBAoGAUpON/xMcPjLiV5vsF0fnc6Gsf9PaxTCJ2pIQpCVFE6mgvoTwFbOiUaHJC+8c7VYDfqIKEdZxVAyynfmnsA2Ui+djcLRMZPuQcNvFaQZi8byMXuMT/AmcRy4/qc35fZe/z+tsvsZ9SL+OzvFyY+TfMwqWb2KkuXgNdu01RhHXzv0CgYEAocfLhVf0BqMmsCVmYFJfR1n9g+jLe8fGNiBFMGdQDhsGuARgFnYBI1uQ46Ej7N0U+f0p2KdM0yWK2h+icqhqY1/94rrVWHPanfSEeHCcKBPXhs3Rq3u+lI98/Gb16Ek2Tdg2nZLEPjNN+LIC5R3eYbWpPIuOR4xgVOZ1CVeZ9bg=',//私钥
        'alipayrsaPublicKey'=>'MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAgQGdm2SjoYSEBqta1ENd6wemHZPLTP+AogJmRy1WvmERs3TxTAEo8bqxo6kirlej7pk5+3LojmzWS4E0cB3XV+2XFMGET0nIN/Cs8iVpLkNRNk/42bNS8izrGh7BJgKyGeyvAfyIedaM72yJ6U6Nv4tYesoqNB4s0NEkSYlz4n18AbI4WxJITMlkKk/mZrr6v1oshPtKkl5xSxqz/5S9RTacQc4o3aBtjaksz28Qe05RI61EACqcgx9ucmYacqYGfuqQBsIxspw1bgrkm4eGUENRAoF8gAXqmIIqIvjNXoIlwBZnxEGM5zihzhvIqqvE0QNKd2ll2meum3sjQTzuDwIDAQAB',//支付宝公钥
        'notifyUrl'=>"/farm/callback/alipaycallback",
    ],
    //多麦
    'duomai'=>[
        'duomai_id'=>'308501',//多麦媒体id
        'hash_android'=>'dd2e5702c86b7d7f92605acf38e0c448'
    ],
    //微信
    'wx'=>[
        'gzh'=>[    //公众号
            'appid'=>'wx686bd0c57dc4b19d',
            'secret'=>'e19f6716bae0e4aef70b4f059e1e6e74',
        ],
        'xcx'=>[    //小程序
            'appid'=>'wxadbc082dbfe3a379',
            'secret'=>'8b5fe5aaa27e9578b8a3408177710c76',
        ],
        'shanghu'=>[    //商户号
            'appid'=>'wxfdb1d5b652fa9c6d',
            'mch_id' => "1589517551", /*微信申请成功之后邮件中的商户id*/
            'app_secret' => '4f2e554a27c871110015bbc8cee08785',
            'api_key' => "52f16e70cfe646028289644bf60b810c", /*在微信商户平台上自己设定的api密钥 32位*/ //af23ea05c81da7732815949fda6e5eed
            'notify_url'=>'http://www.ddsdfeadfdaf',
        ]
    ],
    //极光推送
    'jpush'=>[
        'app_key'=>"",
        'app_secret'=>'',
    ],

    //聚推客
    'jutuike'=>[
        'pub_id'=>'11645',
        'apikey'=>'hY1zjycn5Bq48k1WLSiRCVAbmamcLoM5'
    ]

];